package com.smart.service;

import java.sql.SQLException;
import java.util.List;

import com.smart.dao.CommunityDAO;
import com.smart.model.Community;

public class CommunityService {
    
	public List<Community> getCommunityList()
	{
		 CommunityDAO communityDAO=new CommunityDAO();
		 try {
			return communityDAO.getCommunityList();
		} catch (SQLException e) {
			e.printStackTrace();
		}
		 return null;
	}
}
